﻿<Window x:Class="MDCAdminTool.Controls.AddDataCacheItemWin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add Data Cache Item" Height="270" Width="260" 
    Padding="15"
    WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner">

    <Grid>
        <DockPanel Margin="8">
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" HorizontalAlignment="Right" Margin="0,8,0,0">
                <Button Height="23" Width="75" Margin="5,0,5,0" Content="Cancel" Click="Cancel_Click" IsCancel="True" />
                <Button Height="23" Width="75" Margin="5,0,0,0" Content="Save"   Click="Save_Click" IsDefault="True" />
            </StackPanel>

            <GroupBox DockPanel.Dock="Top" Margin="0,0,0,25">
                <GroupBox.Header>
                    <StackPanel Orientation="Horizontal">
                        <StaticResource ResourceKey="GetHostConfig16" />
                        <TextBlock Text="Data Cache Item" Margin="5,0,0,0"/>
                    </StackPanel>
                </GroupBox.Header>
                <Grid x:Name="gridCacheClusterConfigFile">

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                    <Label Content="Key:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" />
                    <TextBox Grid.Column="1" Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="3" Name="tbKey"  VerticalAlignment="Center" Width="120" />

                    <Label Content="Value:" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" />
                    <TextBox Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="3" Name="tbValue"  VerticalAlignment="Center" Width="120" />

                </Grid>
            </GroupBox>

            <GroupBox>
                <GroupBox.Header>
                    <StackPanel Orientation="Horizontal">
                        <StaticResource ResourceKey="GetHostConfig16" />
                        <TextBlock Text="Data Cache Item" Margin="5,0,0,0"/>
                    </StackPanel>
                </GroupBox.Header>
                <Grid x:Name="a">

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                    <Label Content="Numbers:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" />
                    <TextBox Grid.Column="1" Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="3" Name="tbNumber"  VerticalAlignment="Center" Width="120" />

                </Grid>
            </GroupBox>

        </DockPanel>


    </Grid>

</Window>
